<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title> OneAdmin 后台管理系统</title>
<meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE">
<meta name="viewport" content="width=device-width"/>
<link rel="stylesheet" href="__PUBLIC__/Admin/css/base.css"/>
<link rel="stylesheet" href="__PUBLIC__/Admin/css/index.css"/>
<link rel="stylesheet" href="__PUBLIC__/Admin/css/global.css"/>
<link rel="stylesheet" href="__PUBLIC__/Admin/css/style.css"/>
</head>
<body>
<div class="g-hd s-hd">
	<div class="m-logo"></div>
	<div class="u-hl s-hl"></div>

	<ul class="m-nav s-nav" id="nav">
	</ul>
	<ul class="m-tool">
		<li class="out"><a class="u-icon" href="{:U('Public/logout')}">&#xf011;</a></li>
		<li><a href="" target="iframe"> 站点缓存</a></li>
		<li><a href="javascript:;" id="site"></a></li>
	</ul>
    
</div>
<div class="f-cb"></div>
<div class="g-sd s-sd" id="sidebar">
	<div class="m-menu s-menu" id="menu">
    	<div class="scrollbar"><div class="track"><div class="thumb"><div class="end"></div></div></div></div>
    </div>
</div>
<div class="g-bc s-bc">
{$UserInfo.group_name}：{$UserInfo.nickname}，欢迎您登录本系统！上次登录时间为：{$UserInfo.last_login_time|time_format} 
<div class="m-user-tool"> 
<a href="{:U('User/updatePassword')}" target="iframe">修改密码</a> <a href="{:U('hone/index/index')}" target="_blank">网站首页</a>
</div>
</div>
<div class="g-mn">
	<iframe frameborder="0" class="g-frame" id="iframe"></iframe>
</div>

</body>
<script>
var baseDir='__PUBLIC__/Admin/js/';
</script>
<script src="__PUBLIC__/Admin/js/do.js"></script>
<script src="__PUBLIC__/Admin/js/config.js"></script>
<script>
Do.ready('base','scrollbar','tip',function() {
	//菜单
	$.getJSON("{:U('Menu/getMenu')}",{},function(data){
		if(data.status=='y'){
			$('#nav').duxMenu({json:data.info,menu:'#menu',sidebar:'#sidebar'});
		}else{
			alert('无法获取到系统菜单，请刷新后重试！');
		}
	});
	//站点切换
	
});
</script>
</html>
